<!DOCTYPE html>
<html>
<head>
	<title>Incoming URL tests</title>
</head>
<body>

<h1>BitBar - Incoming URL tests</h1>

<table>
	<thead>
		<tr>
			<th>Link</th>
			<th>Expectation</th>
		</tr>
	</thead>
	<tr>
		<td>
			<a href="bitbar://openPlugin?title=Cycle%20text%20and%20detail%20text&amp;src=https://github.com/matryer/bitbar-plugins/raw/master/Tutorial%2fcycle_text_and_detail.sh">
				Normal
			</a>
		</td>
		<td>
			Should open and install 'Cycle Text and Detail' plugin
		</td>
	</tr>
	<tr>
		<td>
			<a href="bitbar://openPlugin?src=https://github.com/matryer/bitbar-plugins/raw/master/Tutorial%2fcycle_text_and_detail.sh">
				Missing title
			</a>
		</td>
		<td>
			Should open and install 'Cycle Text and Detail' plugin but use <code>cycle_text_and_detail.sh</code> as title
		</td>
	</tr>
	<tr>
		<td>
			<a href="bitbar://openPlugin?title=&amp;src=https://github.com/matryer/bitbar-plugins/raw/master/Tutorial%2fcycle_text_and_detail.sh">
				Empty title
			</a>
		</td>
		<td>
			Should open and install 'Cycle Text and Detail' plugin but use <code>cycle_text_and_detail.sh</code> as title
		</td>
	</tr>
	<tr>
		<td>
			<a href="bitbar://openPlugin?title=Test+plugin&amp;src=https://github.com/matryer/bitbar/raw/master/App/BitBarTests/TestPlugins/one.10s.sh">
				Unofficial repo
			</a>
		</td>
		<td>
			Should open and install test plugin but have additional warnings - and use full URL (not title)
		</td>
	</tr>
</table>

</body>
</html>